import {  post, del, put } from "@/request"

// 获取品牌信息
export const getBrandList = (data: any) => {
    return post("/brand/getBrand", data)
}

//删除品牌信息
export const deleteBrandInfo = (data: any) => {
    return del("/brand/deleteBrand", data)
}

//添加品牌信息
export const addBrandInfo = (data: any) => {
    console.log(data)
    return post("/brand/addBrand", data)
}

//修改品牌信息
export const updateBrandInfo = (data: any) => {
    console.log(data)
    return put("/brand/updateBrand", data)
}





